import { lazy } from "react";
import { routeType } from "./route-type";
const LazyComponent = (path: string) => {
  return lazy(() => import(`@/` + path));
};

const routes: Array<routeType> = [
  {
    path: "/",
    component: LazyComponent("pages/HelloWorld"),
  },
];

export default routes;
